Params

public interface Params

The parameters of the BeforeUnloadCallback.

Functions

Link copied to clipboard
public boolean isReload()
Returns true if the web page is going to be reloaded, false when a new navigation is started.
Link copied to clipboard
Returns a string that represents the localized text of the "Leave" action.
Link copied to clipboard
public String message()
Returns a string that represents the localized text of the before unload warning.
Link copied to clipboard
Returns a string that represents the localized text of the "Stay" action.
Link copied to clipboard
public String title()
Returns a string that represents the localized dialog title.